package cscie160.hw6;


/**
 * This interface provides requirements for any ATM implementation
 * @author Michael Melnikov   
*/
public interface ATM 
{

    /**
    * deposits sum equal to its argument
    */
    public void deposit(float amount) throws ATMException;


    /**
    * withdraws sum equal to its argument 
    */
    public void withdraw(float amount) throws ATMException;


    /**
    * returns balance on the account
    */
    public Float getBalance() throws ATMException;

}